window.map = null;
(function(){
    var controls_zoombars = [
        new SuperMap.Control.Navigation({
            dragPanOptions: {
                enableKinetic: true
            }
        })
    ];
    map = new SuperMap.Map("map", 
        {
            controls: controls_zoombars,
            allOverlays: true
        }
    );
    Map.layer = new SuperMap.Layer.CloudLayer();
    map.addLayer(Map.layer);
    map.setLayerIndex(Map.layer, 0);
    map.setBaseLayer(Map.layer);

    map.setCenter( new SuperMap.LonLat(12958400.883957,4852082.440605948), 11);
    window.map = map;
})(window)